Welcome![Sign In][Sign Up]
Location:
Search - canvas 6.

Search list

[BooksAndroid基础教程

Description: 第一部分 Android简介 第1章 快速入门.............. 3 1.1 安装工具...... 3 1.1.1 Java 5.0+.... 3 1.1.2 Eclipse.......... 4 1.1.3 Android....... 4 1.1.4 Eclipse插件..................... 5 1.2 创建第一个程序.... 7 1.3 在模拟器上运行程序............... 8 1.4 在手机上运行程序..................... 9 1.5 快速阅读指南.......... 9 第2章 基本概念........... 11 2.1 Android的系统架构................ 11 2.1.1 Linux内核..................... 11 2.1.2 本机库...... 12 2.1.3 Android运行时......... 13 2.1.4 应用程序框架........... 14 2.1.5 应用程序 15 2.2 它还活着... 15 2.2.1 进程不等于应用程序......... 16 2.2.2 应用程序生命周期............... 17 2.3 构建块......... 19 2.3.1 活动............ 19 2.3.2 意图............ 19 2.3.3 服务............ 19 2.3.4 内容提供者................. 19 2.4 使用资源... 20 2.5 安全性......... 20 2.6 快速阅读指南....... 21 第二部分 Android基础知识 第3章 设计用户界面..................... 25 3.1 数独游戏简介....... 25 3.2 声明性设计............. 26 3.3 创建启动界面....... 27 3.4 使用替代资源....... 34 3.5 实现About对话框..................... 37 3.6 应用主题... 41 3.7 添加菜单... 43 3.8 添加设置... 45 3.9 开始新游戏............. 47 3.10 利用日志消息调试程序... 48 3.11 利用调试器调试程序......... 50 3.12 退出游戏 50 3.13 快速阅读指南.... 50 第4章 绘制2D图形...................... 53 4.1 Android图形基础...................... 53 4.1.1 Color类... 53 4.1.2 Paint类... 54 4.1.3 Canvas类 55 4.1.4 Path类...... 55 4.1.5 Drawable类................. 56 4.2 在Sudoku程序中添加图形............... 58 4.2.1 开始游戏 58 4.2.2 定义Game类................. 58 4.2.3 定义PuzzleView类............... 60 4.2.4 绘制游戏盘面........... 61 4.2.5 绘制数字 63 4.3 处理输入... 65 4.3.1 定义和更新选定区域......... 66 4.3.2 输入数字 68 4.3.3 增加提示 69 4.3.4 抖动屏幕 70 4.4 其他问题... 71 4.4.1 创建软键盘................. 71 4.4.2 实现游戏逻辑........... 76 4.4.3 其他功能 78 4.5 更多改进... 80 4.6 快速阅读指南....... 81 第5章 多媒体. 83 5.1 播放音频... 83 5.2 播放视频... 88 5.3 为数独游戏配上音乐............ 92 5.4 快速阅读指南....... 94 第6章 存储本地数据..................... 95 6.1 为数独游戏添加选项............ 95 6.2 继续玩前一个游戏.................. 97 6.3 记住当前位置....... 99 6.4 访问内部文件系统............... 100 6.5 访问SD卡.............. 101 6.6 快速阅读指南.... 103 第三部分 高级主题 第7章 互联的世界. 107 7.1 通过意图实现浏览............... 108 7.2 利用视图打开网页............... 111 7.3 JavaScript与Java通信.......... 115 7.4 使用Web服务..... 121 7.5 快速阅读指南.... 131 第8章 定位与环境感知........... 133 8.1 位置,位置,位置............... 133 8.1.1 我在哪里.................... 135 8.1.2 更新位置.................... 137 8.1.3 模拟说明.................... 138 8.2 充分利用传感器..................... 139 8.2.1 了解传感器.............. 139 8.2.2 解析传感器的读数............ 140 8.2.3 模拟说明.................... 140 8.3 地图功能 141 8.3.1 嵌入MapView........... 142 8.3.2 准备就绪.................... 145 8.3.3 模拟说明.................... 146 8.4 快速阅读指南.... 147 第9章 SQL实战...... 149 9.1 SQLite简介........... 149 9.2 SQL基础 150 9.2.1 DDL语句.................... 151 9.2.2 修改语句.................... 151 9.2.3 查询语句.................... 151 9.3 你好,数据库.... 152 9.3.1 使用SQliteOpenHelper 153 9.3.2 定义主程序.............. 155 9.3.3 添加一行.................... 156 9.3.4 运行一个查询........ 157 9.3.5 显示查询结果........ 158 9.4 数据绑定 159 9.5 使用ContentProvider...... 162 9.5.1 更改主程序.............. 164 9.5.2 添加一行.................... 164 9.5.3 运行一个查询........ 165 9.6 实现ContentProvider...... 165 9.7 快速阅读指南.... 166 第10章 利用OpenGL实现3D图形.............. 169 10.1 理解3D图形..... 169 10.2 OpenGL简介.... 170 10.3 构建一个OpenGL程序... 171 10.4 管理线程............. 173 10.5 构建一个模型. 178 10.6 光线、相机…….................. 181 10.7 动作......... 183 10.8 应用纹理............. 184 10.9 透明效果............. 187 10.10 快速阅读指南..................... 189 第四部分 附录 附录A Java与Android语言及其API.......... 193 附录B 参考书目........ 197
Platform: | Size: 13578541 | Author: pumaxy | Hits:

[JSP/JavaDeviceTest

Description: J2ME环境测试程序 1.只支持MIDP2.0上的测试.对NOKIA的屏幕测试有问题。 2.可以测试出手机的按键值 3.手机上J2ME的大部分属性,例如:3D,FileConnection,MMAPI,CLDC,MIDP等等 4,可以测试出手机字体大小 5.可以测试出手机支持的部分媒体格式,像声音格式等. 6.可以测试出手机的可用内存等 7.可以测试出CANVAS屏幕大小等属性.-J2ME environmental testing procedures 1. Only supports MIDP2.0 on testing. NOKIA screen test for a problem. 2. Can test out the phone
Platform: | Size: 13312 | Author: jameslan520 | Hits:

[SCMCircleMenu

Description: public class CircleMenuCanvas extends Canvas implements Runnable{ double pi = Math.PI public final int MENURIGHT = 1 public final int MENULEFT = 0 Image menuImage[] = new Image[6] int []jiaodu = {330,30,90,150,210,270} String menuName[] = {"新游戏","继续游戏","游戏设置","高分榜","游戏帮助","退出游戏"} int x = getWidth()/2 int y = getHeight()/2 int count = 0 int local int index = 0 Font f boolean running = false /** * 构造方法 * */-public class CircleMenuCanvas extends Canvas implements Runnable (double pi = Math.PI public final int MENURIGHT = 1 public final int MENULEFT = 0 Image menuImage [] = new Image [6] int [] jiaodu = (330,30,90150210270) String menuName [] = (
Platform: | Size: 18432 | Author: 么么 | Hits:

[Graph Drawingpaint1

Description: 本程序是介于VC++6.0(MFC)环境下的一个(单文档)画图程序,可以实现画点,线,圆,矩形,并且可以设置画笔的颜色和画布的颜色以及背景色(原创)-This procedure is between the VC++6.0 (MFC) environment of a (single document) drawing program, can draw points, lines, circles, rectangles, and can set the pen color and canvas color and background color (original)
Platform: | Size: 1955840 | Author: 王子涵 | Hits:

[JSP/JavaImageTrans

Description: 以前要实现图片的旋转或翻转,只能用ie的滤镜来实现,虽然canvas也实现,但ie不支持而且不是html标准。 css3出来后,终于可以用标准的transform来实现变换,而canvas也已成为html5标准的一部分。 css3和html5使web变得越来越强大,各种新奇的技术正等待我们发掘。 本程序分别通过滤镜(ie)、ccs3和canvas来实现图片的旋转、缩放和翻转变换效果,可以用作图片查看器。 有如下特色: 1,用滤镜、ccs3和canvas实现相同的变换效果; 2,可任意角度旋转; 3,可任意角度翻转; 4,可扩展滚轮缩放; 5,可扩展拖动旋转。 兼容:ie6/7/8, firefox 3.6.8, opera 10.6, safari 5.0.1, chrome 5.0 -To realize the rotation of the pictures before or flip, can only use ie filter to realize, although canvas also realization, but ie don t support and not the HTML standard. Css3 after coming out, and finally can use standard of transform to realize the transformation, and canvas has also become part of the meta standard. Css3 and to be more and more powerful web meta, all sorts of novel technology is waiting for us explore. This program (ie) respectively through the filter, ccs3 and canvas to realize the rotation of the pictures, zoom and flip transformation effect, can be used as a picture viewer. Has the following features: 1, the filters, ccs3 canvas and fulfill the same transformation effect 2, can be arbitrary Angle rotation Three, can be arbitrary Angle reverses 4 can be expanded roller zoom 5 can be expanded drag rotation. Compatible: ie6/7/8, firefox 3.6.8, opera 10.6, safari 5.0.1, chrome 5.0
Platform: | Size: 7168 | Author: 汪亚超 | Hits:

[Algorithm3DSurfacePlusSinus

Description: It is a Visual C++ 6.0 (and above) source code to draw 3D funnel and sinus spline on it surface on canvas using ONLY mathematical functions and WinApi. No OpenGl fuctions are used. So you can understand internal mathematical apparatus. Use mouse Right and Left buttons to rotate and ZoomIn ZoomOut 3D surface.
Platform: | Size: 59392 | Author: vov2000 | Hits:

[AlgorithmBSpline3DPlusResolution

Description: It is a Visual C++ 6.0 (and above) source code to draw 3D half of funnel and complex spline on it surface on canvas using ONLY mathematical functions and WinApi. No OpenGl fuctions are used. So you can understand internal mathematical apparatus. You can change resolution of model by settings number of elements. Use mouse Left button to rotate 3D surface.
Platform: | Size: 56320 | Author: vov2000 | Hits:

[AlgorithmBSplineBezier

Description: It is a Visual C++ 6.0 (and above) source code to draw B_Splines and Besier Curves + 3D surface and complex spline on it surface on canvas using ONLY mathematical functions and WinApi. No OpenGl fuctions are used. So you can understand internal mathematical apparatus. You can move points by mouse for redraw Bezier. Use mouse Left button to rotate 3D surface.
Platform: | Size: 115712 | Author: vov2000 | Hits:

[AlgorithmSplinesMultiplePoints

Description: It is a Visual C++ 6.0 (and above) source code to draw B_Splines and Besier Curves on canvas using ONLY mathematical functions and WinApi. No OpenGl fuctions are used. So you can understand internal mathematical apparatus. First click mouse on canvas at least 5 points when use menu to build curves. You can move points by mouse for redraw Bezier.
Platform: | Size: 57344 | Author: vov2000 | Hits:

[AlgorithmSurface3DRotateZoom

Description: It is a Visual C++ 6.0 (and above) source code to draw 3D barrel and complex spline on it surface on canvas using ONLY mathematical functions and WinApi. No OpenGl fuctions are used. So you can understand internal mathematical apparatus. Use mouse Right and Left buttons to rotate and ZoomIn ZoomOut 3D surface.
Platform: | Size: 62464 | Author: vov2000 | Hits:

[androidSECTORS

Description: 用HTML5 画6个扇形,跟遥控器上的主控板很像-using Canvas lable of HTML5 to draw sectors.
Platform: | Size: 2048 | Author: xiaolu | Hits:

[Internet-Network041网络远程作业处理系统(JSP)

Description: 要内容是使用JSP+SQL server编写一个在线的作业提交系统。该系统的内容有:1登陆系统。自动区分登陆者为学生、教师、管理员,并显示相应页面。2注册系统,只提供学生的注册,教师由管理员添加,仅设1名管理员帐户,系统第一次运行时注册认证。3只有目的用户可见的留言板系统。通过对数据库的匹配查询实现。(The content is to use JSP SQL server to write an online job submission system. The contents of the system are: 1 login system. Automatically distinguish the logins as students, teachers, administrators, and display the corresponding page. 2 registration system, only provide the registration of students, teachers added by the administrator, only set up an administrator account, the first time the system run registration authentication. Message board system with only target users visible. Through the database matching query implementation. Chat room system with network whiteboard. Use convenient applet, through multithreaded application to achieve the chat room. Network whiteboard, embedded in the chat room system, using the JAVA canvas class. 6 file upload and download system based on JSP.)
Platform: | Size: 4374528 | Author: ruoqiu | Hits:
« 1 2 3 4 5 6 7 8»

CodeBus www.codebus.net